#include "mainwindow.h"
#include "qdebug.h"
#include "ui_mainwindow.h"
#include <Windows.h>


MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}


void MainWindow::on_pushButton_clicked()
{

    try {
        qDebug() << "987654321";
//        QPushButton *qbt;
//        qbt->setText("123455");


        QLineEdit *l;
        l->placeholderText();
    } catch (...) {
        qDebug() << "987621";
        RaiseException(EXCEPTION_FLT_DIVIDE_BY_ZERO, 0, 0, NULL);
    }
}

